﻿package com.avetti.simplemerce.datatransfer;

import java.io.Serializable;

/**
 * @refactored by A.Bikovskiy 2007-09-27
 */
@SuppressWarnings("serial")
public class StorePriceDTO implements Serializable{
	
	/**
	 * Vendor ID for current actions with price
	 */
	protected String vendorId		= null;
	
	/**
	 * Users Offer code
	 */
	protected String offerCode		= null;
	
	/**
	 * Items Code
	 */
	protected String itemCode		= null;
	
	/**
	 * Current price of items
	 */
	protected double price 			= 0d;	
	
	/**
	 * Price priority
	 */
	protected Integer priority		= new Integer(0);
	
	/**
	 * Price
	 */
	protected double listPrice		= 0d;
	
	/**
	 * 
	 */
	protected double setup			= 0d;
	
	/**
	 * Current discount of price for items
	 */
	protected double discount		= 0d;
	
	/**
	 * Current quantity of items
	 */
	protected int qty				= 0;			
	
	//data from corresponding PriceDTO - the record from 'offerprices' table for specified conditions
	protected double price1			= 0d;
	protected double price2			= 0d;
	protected double price3			= 0d;
	protected double price4			= 0d;
	protected double price5			= 0d;
	protected int qty1				= 0;
	protected int qty2				= 0;
	protected int qty3				= 0;
	protected int qty4				= 0;
	protected double discount1		= 0d;
	protected double discount2		= 0d;
	protected double discount3		= 0d;
	protected double discount4		= 0d;
	protected double discount5		= 0d;
	protected String sku			= null;
	protected Double weight			= new Double(0);	
	protected Long shopperGroupId	= new Long(0);
	protected Double billAmount		= new Double(0);
	protected Long timesToBill		= new Long(0);
	protected Integer billPeriod	= new Integer(0);
	
	protected boolean discountApplied = false;
	
	protected double dealerPrice = 0d;
	
	protected double retailPrice = 0d;
	
	public double getDealerPrice() {
		return dealerPrice;
	}
	
	public void setDealerPrice(double dealerPrice) {
		this.dealerPrice = dealerPrice;
	}
	
	public double getRetailPrice() {
		return retailPrice;
	}
	
	public void setRetailPrice(double retailPrice) {
		this.retailPrice = retailPrice;
	}
	
	public boolean isDiscountApplied() {
		return discountApplied;
	}
	
	public void setDiscountApplied(boolean discountApplied) {
		this.discountApplied = discountApplied;
	}
	
	/**
	 * @return the billAmount
	 */
	public Double getBillAmount() {
		return billAmount;
	}
	/**
	 * @param billAmount the billAmount to set
	 */
	public void setBillAmount(Double billAmount) {
		this.billAmount = billAmount;
	}
	/**
	 * @return the billPeriod
	 */
	public Integer getBillPeriod() {
		return billPeriod;
	}
	/**
	 * @param billPeriod the billPeriod to set
	 */
	public void setBillPeriod(Integer billPeriod) {
		this.billPeriod = billPeriod;
	}
	/**
	 * @return the discount
	 */
	public double getDiscount() {
		return discount;
	}
	/**
	 * @param discount the discount to set
	 */
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	/**
	 * @return the discount1
	 */
	public double getDiscount1() {
		return discount1;
	}
	/**
	 * @param discount1 the discount1 to set
	 */
	public void setDiscount1(double discount1) {
		this.discount1 = discount1;
	}
	/**
	 * @return the discount2
	 */
	public double getDiscount2() {
		return discount2;
	}
	/**
	 * @param discount2 the discount2 to set
	 */
	public void setDiscount2(double discount2) {
		this.discount2 = discount2;
	}
	/**
	 * @return the discount3
	 */
	public double getDiscount3() {
		return discount3;
	}
	/**
	 * @param discount3 the discount3 to set
	 */
	public void setDiscount3(double discount3) {
		this.discount3 = discount3;
	}
	/**
	 * @return the discount4
	 */
	public double getDiscount4() {
		return discount4;
	}
	/**
	 * @param discount4 the discount4 to set
	 */
	public void setDiscount4(double discount4) {
		this.discount4 = discount4;
	}
	/**
	 * @return the discount5
	 */
	public double getDiscount5() {
		return discount5;
	}
	/**
	 * @param discount5 the discount5 to set
	 */
	public void setDiscount5(double discount5) {
		this.discount5 = discount5;
	}
	/**
	 * @return the itemCode
	 */
	public String getItemCode() {
		return itemCode;
	}
	/**
	 * @param itemCode the itemCode to set
	 */
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	/**
	 * @return the listPrice
	 */
	public double getListPrice() {
		return listPrice;
	}
	/**
	 * @param listPrice the listPrice to set
	 */
	public void setListPrice(double listPrice) {
		this.listPrice = listPrice;
	}
	/**
	 * @return the offerCode
	 */
	public String getOfferCode() {
		return offerCode;
	}
	/**
	 * @param offerCode the offerCode to set
	 */
	public void setOfferCode(String offerCode) {
		this.offerCode = offerCode;
	}
	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}
	/**
	 * @return the price1
	 */
	public double getPrice1() {
		return price1;
	}
	/**
	 * @param price1 the price1 to set
	 */
	public void setPrice1(double price1) {
		this.price1 = price1;
	}
	/**
	 * @return the price2
	 */
	public double getPrice2() {
		return price2;
	}
	/**
	 * @param price2 the price2 to set
	 */
	public void setPrice2(double price2) {
		this.price2 = price2;
	}
	/**
	 * @return the price3
	 */
	public double getPrice3() {
		return price3;
	}
	/**
	 * @param price3 the price3 to set
	 */
	public void setPrice3(double price3) {
		this.price3 = price3;
	}
	/**
	 * @return the price4
	 */
	public double getPrice4() {
		return price4;
	}
	/**
	 * @param price4 the price4 to set
	 */
	public void setPrice4(double price4) {
		this.price4 = price4;
	}
	/**
	 * @return the price5
	 */
	public double getPrice5() {
		return price5;
	}
	/**
	 * @param price5 the price5 to set
	 */
	public void setPrice5(double price5) {
		this.price5 = price5;
	}
	/**
	 * @return the priority
	 */
	public Integer getPriority() {
		return priority;
	}
	/**
	 * @param priority the priority to set
	 */
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	/**
	 * @return the qty
	 */
	public int getQty() {
		return qty;
	}
	/**
	 * @param qty the qty to set
	 */
	public void setQty(int qty) {
		this.qty = qty;
	}
	/**
	 * @return the qty1
	 */
	public int getQty1() {
		return qty1;
	}
	/**
	 * @param qty1 the qty1 to set
	 */
	public void setQty1(int qty1) {
		this.qty1 = qty1;
	}
	/**
	 * @return the qty2
	 */
	public int getQty2() {
		return qty2;
	}
	/**
	 * @param qty2 the qty2 to set
	 */
	public void setQty2(int qty2) {
		this.qty2 = qty2;
	}
	/**
	 * @return the qty3
	 */
	public int getQty3() {
		return qty3;
	}
	/**
	 * @param qty3 the qty3 to set
	 */
	public void setQty3(int qty3) {
		this.qty3 = qty3;
	}
	/**
	 * @return the qty4
	 */
	public int getQty4() {
		return qty4;
	}
	/**
	 * @param qty4 the qty4 to set
	 */
	public void setQty4(int qty4) {
		this.qty4 = qty4;
	}
	/**
	 * @return the setup
	 */
	public double getSetup() {
		return setup;
	}
	/**
	 * @param setup the setup to set
	 */
	public void setSetup(double setup) {
		this.setup = setup;
	}
	/**
	 * @return the shopperGroupId
	 */
	public Long getShopperGroupId() {
		return shopperGroupId;
	}
	/**
	 * @param shopperGroupId the shopperGroupId to set
	 */
	public void setShopperGroupId(Long shopperGroupId) {
		this.shopperGroupId = shopperGroupId;
	}
	/**
	 * @return the sku
	 */
	public String getSku() {
		return sku;
	}
	/**
	 * @param sku the sku to set
	 */
	public void setSku(String sku) {
		this.sku = sku;
	}
	/**
	 * @return the timesToBill
	 */
	public Long getTimesToBill() {
		return timesToBill;
	}
	/**
	 * @param timesToBill the timesToBill to set
	 */
	public void setTimesToBill(Long timesToBill) {
		this.timesToBill = timesToBill;
	}
	/**
	 * @return the vendorId
	 */
	public String getVendorId() {
		return vendorId;
	}
	/**
	 * @param vendorId the vendorId to set
	 */
	public void setVendorId(String vendorId) {
		this.vendorId = vendorId;
	}
	/**
	 * @return the weight
	 */
	public Double getWeight() {
		return weight;
	}
	/**
	 * @param weight the weight to set
	 */
	public void setWeight(Double weight) {
		this.weight = weight;
	}	
}
